//
//  YWMaterialStock.h
//  maintain
//
//  Created by 烟雨云渊 on 16/9/2.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YWLocation;
@class YWApartment;
@class YWFloor;
@class YWMaterial;

@interface YWMaterialStock : NSObject
/********        库存       ******/
/* 库存Id */
@property (nonatomic, assign) NSInteger stockId;
/* 楼盘Id */
@property (nonatomic, copy) NSString * buildingId;
/* 库存数量 */
@property (nonatomic, assign) NSInteger quantity;
/* 状态 */
@property (nonatomic, assign) NSInteger status;//待修改
/* 创建时间 */
@property (nonatomic, assign) NSTimeInterval createTime;
/* 更新时间 */
@property (nonatomic, assign) NSTimeInterval updateTime;
/* 楼栋对象 */
@property (nonatomic, strong) YWApartment * apartment;
/* 楼层对象 */
@property (nonatomic, strong) YWFloor * floor;
/* 位置对象 */
@property (nonatomic, strong) YWLocation* location;
/* 物料信息对象 */
@property (nonatomic, strong) YWMaterial * materialInfo;

/* ---------搜索查询物料时选择数量---------- */
@property (nonatomic, assign) NSInteger selectQuantity;
@end

